#!/bin/bash  
su -c "cd /var/elasticsearch-7.8.0/bin && ./elasticsearch -d" elastic

exec "/usr/sbin/init"